package com.zmn.oms.common.dro.wallquotation;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * 墙面价格和优惠信息
 *
 * @author chengguang
 * @date 2022/05/26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WallOrderAmountDRO implements Serializable {

    private static final long serialVersionUID = -3199270977763942001L;

    /**
     * 服务价格 = 原价 + 优惠总额
     */
    @ApiModelProperty("服务价格")
    private Integer servicePrice;

    /**
     * 合计价格 = 商品原价 - 优惠总额 单位：分
     */
    @ApiModelProperty("合计价格")
    private Integer amountPrice;

    /**
     * 人工优惠ID
     */
    @ApiModelProperty("人工优惠ID")
    private Integer promId;

    /**
     * 最大人工优惠上限
     */
    @ApiModelProperty("最大人工优惠金额上限")
    private Integer maxDiscountAmount;


    @ApiModelProperty("优惠明细")
    private List<OrderItemDiscountDRO> itemDiscountDROList;
}
